const canadianDollar = 0.91;

function roundTwoDecimals(amount) {
  return Math.round(amount * 100) / 100;
}

exports.canadianToUS = function (canandian) {
  return roundTwoDecimals(canandian * canadianDollar);
};

exports.USToCanadian = function (us) {
    return roundTwoDecimals(us / canadianDollar);
}
